import request from '@/utils/request'

// 查询列表
export function listCoordinator(query) {
  return request({
    url: '/coordinator_group_dao/select_coordinatorgroup',
    method: 'post',
    data: query
  })
}

// 查询协调人组列表详细
export function getCoordinator(authorizeGroup) {
  return request({
    url: '/coordinator_group_dao/edit/' + authorizeGroup,
    method: 'get'
  })
}

// 修改协调人组列表
export function updateCoordinator(authorizeGroup) {
  return request({
    url: '/coordinator_group_dao/update_coordinatorgroup',
    method: 'post',
    data: authorizeGroup
  })
}


// 新增协调人组列表
export function addCoordinator(data) {
  return request({
    url: '/coordinator_group_dao/insert_coordinatorgroup',
    method: 'post',
    data: data
  })
}


// 删除协调人组列表
export function deleCoordinator(ids) {
  return request({
    url: '/coordinator_group_dao/delete_coordinatorgroup/' + ids,
    method: 'post'
  })
}

// 导出协调人组列表
export function exportCoordinator(query) {
  return request({
    url: '/coordinator_group_dao/export',
    method: 'post',
    data: query
  })
}
